home *** CD-ROM | disk | FTP | other *** search
/ MacGames Sampler / PHT MacGames Bundle.iso / MacSource Folder / Samples from the CD / Editors / emacs / Emacs-1.14b1 / lisp / ispell.elc < prev    next >
MacBinary  |  1994-02-13  |  11.0 KB  |  [dELC/EMAC]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Combustion 2 Particle Library (other/combustion2ParticleLibrary) ext Unsupported
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) ext Unsupported
100% file MacBinary II, inited, Sun Feb 13 14:12:16 1994, modified Sun Feb 13 14:12:17 1994, creator 'EMAC', type 'dELC', 10649 bytes "ispell.elc" Emacs v18 byte-compiled Lisp data, at 0x2a19 316 bytes resource Emacs v18 byte-compiled Lisp data default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% lsar MacBinary default


id metadata
keyvalue
macFileType[dELC]
macFileCreator[EMAC]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0a 69 73 70 65 6c 6c | 2e 65 6c 63 00 00 00 00 |..ispell|.elc....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 64 45 4c 43 45 4d 41 | 43 01 00 00 00 00 00 00 |.dELCEMA|C.......|
|00000050| 00 00 00 00 00 29 99 00 | 00 01 3c a9 84 2c 10 a9 |.....)..|..<..,..|
|00000060| 84 2c 11 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.,......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 a9 71 00 00 |........|.....q..|
|00000080| 0a 28 64 65 66 76 61 72 | 20 69 73 70 65 6c 6c 2d |.(defvar| ispell-|
|00000090| 68 61 76 65 2d 6e 65 77 | 2d 6c 6f 6f 6b 20 74 20 |have-new|-look t |
|000000a0| 22 5c 0a 54 20 69 66 20 | 64 65 66 61 75 6c 74 20 |"\.T if |default |
|000000b0| 27 6c 6f 6f 6b 27 20 70 | 72 6f 67 72 61 6d 20 68 |'look' p|rogram h|
|000000c0| 61 73 20 74 68 65 20 2d | 72 20 66 6c 61 67 2e 22 |as the -|r flag."|
|000000d0| 29 0a 0a 28 64 65 66 76 | 61 72 20 69 73 70 65 6c |)..(defv|ar ispel|
|000000e0| 6c 2d 65 6e 61 62 6c 65 | 2d 74 65 78 2d 70 61 72 |l-enable|-tex-par|
|000000f0| 73 65 72 20 6e 69 6c 20 | 22 5c 0a 54 20 74 6f 20 |ser nil |"\.T to |
|00000100| 65 6e 61 62 6c 65 20 65 | 78 70 65 72 69 6d 65 6e |enable e|xperimen|
|00000110| 74 61 6c 20 74 65 78 20 | 70 61 72 73 65 72 20 69 |tal tex |parser i|
|00000120| 6e 20 69 73 70 65 6c 6c | 20 66 6f 72 20 74 65 78 |n ispell| for tex|
|00000130| 20 62 75 66 66 65 72 73 | 2e 22 29 0a 0a 28 64 65 | buffers|.")..(de|
|00000140| 66 76 61 72 20 69 73 70 | 65 6c 6c 2d 70 72 6f 63 |fvar isp|ell-proc|
|00000150| 65 73 73 20 6e 69 6c 20 | 22 5c 0a 54 68 65 20 70 |ess nil |"\.The p|
|00000160| 72 6f 63 65 73 73 20 72 | 75 6e 6e 69 6e 67 20 49 |rocess r|unning I|
|00000170| 53 50 45 4c 4c 22 29 0a | 0a 28 64 65 66 76 61 72 |SPELL").|.(defvar|
|00000180| 20 69 73 70 65 6c 6c 2d | 6e 65 78 74 2d 6d 65 73 | ispell-|next-mes|
|00000190| 73 61 67 65 20 6e 69 6c | 20 22 5c 0a 41 6e 20 69 |sage nil| "\.An i|
|000001a0| 6e 74 65 67 65 72 20 74 | 65 6c 6c 69 6e 67 20 77 |nteger t|elling w|
|000001b0| 68 65 72 65 20 69 6e 20 | 74 68 65 20 2a 69 73 70 |here in |the *isp|
|000001c0| 65 6c 6c 2a 20 62 75 66 | 66 65 72 20 77 68 65 72 |ell* buf|fer wher|
|000001d0| 65 0a 74 6f 20 6c 6f 6f | 6b 20 66 6f 72 20 74 68 |e.to loo|k for th|
|000001e0| 65 20 6e 65 78 74 20 6d | 65 73 73 61 67 65 20 66 |e next m|essage f|
|000001f0| 72 6f 6d 20 74 68 65 20 | 49 53 50 45 4c 4c 20 70 |rom the |ISPELL p|
|00000200| 72 6f 67 72 61 6d 2e 22 | 29 0a 0a 28 64 65 66 76 |rogram."|)..(defv|
|00000210| 61 72 20 69 73 70 65 6c | 6c 2d 62 61 64 2d 77 6f |ar ispel|l-bad-wo|
|00000220| 72 64 73 20 6e 69 6c 20 | 22 5c 0a 41 20 6c 69 73 |rds nil |"\.A lis|
|00000230| 74 20 6f 66 20 6d 61 72 | 6b 65 72 73 20 63 6f 72 |t of mar|kers cor|
|00000240| 72 65 73 70 6f 6e 64 69 | 6e 67 20 74 6f 20 74 68 |respondi|ng to th|
|00000250| 65 20 6f 75 74 70 75 74 | 20 6f 66 20 74 68 65 20 |e output| of the |
|00000260| 49 53 50 45 4c 4c 20 3a | 66 69 6c 65 20 63 6f 6d |ISPELL :|file com|
|00000270| 6d 61 6e 64 2e 22 29 0a | 0a 28 64 65 66 76 61 72 |mand.").|.(defvar|
|00000280| 20 69 73 70 65 6c 6c 2d | 72 65 63 65 6e 74 6c 79 | ispell-|recently|
|00000290| 2d 61 63 63 65 70 74 65 | 64 20 6e 69 6c 29 0a 0a |-accepte|d nil)..|
|000002a0| 28 64 65 66 76 61 72 20 | 69 73 70 65 6c 6c 2d 64 |(defvar |ispell-d|
|000002b0| 75 6d 70 2d 6e 65 65 64 | 65 64 20 6e 69 6c 29 0a |ump-need|ed nil).|
|000002c0| 0a 28 64 65 66 75 6e 20 | 69 73 70 65 6c 6c 2d 66 |.(defun |ispell-f|
|000002d0| 6c 75 73 68 2d 62 61 64 | 2d 77 6f 72 64 73 20 6e |lush-bad|-words n|
|000002e0| 69 6c 20 28 62 79 74 65 | 2d 63 6f 64 65 20 22 08 |il (byte|-code ".|
|000002f0| 85 19 00 c3 08 40 21 85 | 10 00 c4 08 40 c1 5c 22 |.....@!.|....@.\"|
|00000300| 88 08 41 89 10 88 82 00 | 00 88 c1 89 12 87 22 20 |..A.....|......" |
|00000310| 5b 69 73 70 65 6c 6c 2d | 62 61 64 2d 77 6f 72 64 |[ispell-|bad-word|
|00000320| 73 20 6e 69 6c 20 69 73 | 70 65 6c 6c 2d 72 65 63 |s nil is|pell-rec|
|00000330| 65 6e 74 6c 79 2d 61 63 | 63 65 70 74 65 64 20 6d |ently-ac|cepted m|
|00000340| 61 72 6b 65 72 70 20 73 | 65 74 2d 6d 61 72 6b 65 |arkerp s|et-marke|
|00000350| 72 5d 20 35 29 29 0a 0a | 28 64 65 66 75 6e 20 6b |r] 5))..|(defun k|
|00000360| 69 6c 6c 2d 69 73 70 65 | 6c 6c 20 6e 69 6c 20 22 |ill-ispe|ll nil "|
|00000370| 5c 0a 4b 69 6c 6c 20 74 | 68 65 20 69 73 70 65 6c |\.Kill t|he ispel|
|00000380| 6c 20 70 72 6f 63 65 73 | 73 2e 20 20 41 6e 79 20 |l proces|s. Any |
|00000390| 63 68 61 6e 67 65 73 20 | 74 68 65 20 79 6f 75 72 |changes |the your|
|000003a0| 20 70 72 69 76 61 74 65 | 20 64 69 63 74 69 6f 6e | private| diction|
|000003b0| 61 79 0a 74 68 61 74 20 | 68 61 76 65 20 6e 6f 74 |ay.that |have not|
|000003c0| 20 61 6c 72 65 61 64 79 | 20 62 65 65 6e 20 64 75 | already| been du|
|000003d0| 6d 70 65 64 20 77 69 6c | 6c 20 62 65 20 6c 6f 73 |mped wil|l be los|
|000003e0| 74 2e 22 20 28 69 6e 74 | 65 72 61 63 74 69 76 65 |t." (int|eractive|
|000003f0| 29 20 28 62 79 74 65 2d | 63 6f 64 65 20 22 c1 88 |) (byte-|code "..|
|00000400| 08 85 09 00 c2 08 21 88 | c1 89 10 88 c3 20 87 22 |......!.|..... ."|
|00000410| 20 5b 69 73 70 65 6c 6c | 2d 70 72 6f 63 65 73 73 | [ispell|-process|
|00000420| 20 6e 69 6c 20 64 65 6c | 65 74 65 2d 70 72 6f 63 | nil del|ete-proc|
|00000430| 65 73 73 20 69 73 70 65 | 6c 6c 2d 66 6c 75 73 68 |ess ispe|ll-flush|
|00000440| 2d 62 61 64 2d 77 6f 72 | 64 73 5d 20 33 29 29 0a |-bad-wor|ds] 3)).|
|00000450| 0a 28 70 75 74 20 28 71 | 75 6f 74 65 20 69 73 70 |.(put (q|uote isp|
|00000460| 65 6c 6c 2d 73 74 61 72 | 74 75 70 2d 65 72 72 6f |ell-star|tup-erro|
|00000470| 72 29 20 28 71 75 6f 74 | 65 20 65 72 72 6f 72 2d |r) (quot|e error-|
|00000480| 63 6f 6e 64 69 74 69 6f | 6e 73 29 20 28 71 75 6f |conditio|ns) (quo|
|00000490| 74 65 20 28 69 73 70 65 | 6c 6c 2d 73 74 61 72 74 |te (ispe|ll-start|
|000004a0| 75 70 2d 65 72 72 6f 72 | 20 65 72 72 6f 72 29 29 |up-error| error))|
|000004b0| 29 0a 0a 28 70 75 74 20 | 28 71 75 6f 74 65 20 69 |)..(put |(quote i|
|000004c0| 73 70 65 6c 6c 2d 73 74 | 61 72 74 75 70 2d 65 72 |spell-st|artup-er|
|000004d0| 72 6f 72 29 20 28 71 75 | 6f 74 65 20 65 72 72 6f |ror) (qu|ote erro|
|000004e0| 72 2d 6d 65 73 73 61 67 | 65 29 20 22 50 72 6f 62 |r-messag|e) "Prob|
|000004f0| 6c 65 6d 20 73 74 61 72 | 74 69 6e 67 20 69 73 70 |lem star|ting isp|
|00000500| 65 6c 6c 20 2d 20 73 65 | 65 20 62 75 66 66 65 72 |ell - se|e buffer|
|00000510| 20 2a 69 73 70 65 6c 6c | 2a 22 29 0a 0a 28 64 65 | *ispell|*")..(de|
|00000520| 66 75 6e 20 73 74 61 72 | 74 2d 69 73 70 65 6c 6c |fun star|t-ispell|
|00000530| 20 6e 69 6c 20 22 5c 0a | 53 74 61 72 74 20 61 6e | nil "\.|Start an|
|00000540| 20 69 73 70 65 6c 6c 20 | 73 75 62 70 72 6f 63 65 | ispell |subproce|
|00000550| 73 73 3b 20 63 68 65 63 | 6b 20 74 68 65 20 76 65 |ss; chec|k the ve|
|00000560| 72 73 69 6f 6e 3b 20 61 | 6e 64 20 64 69 73 70 6c |rsion; a|nd displ|
|00000570| 61 79 20 74 68 65 20 67 | 72 65 65 74 69 6e 67 2e |ay the g|reeting.|
|00000580| 22 20 28 62 79 74 65 2d | 63 6f 64 65 20 22 c5 c6 |" (byte-|code "..|
|00000590| 21 88 c7 c8 21 18 08 85 | 0f 00 c9 08 21 29 88 ca |!...!...|....!)..|
|000005a0| cb cc 8f 88 cd 09 21 88 | ce cf 09 21 21 88 d0 09 |......!.|...!!...|
|000005b0| 21 88 c3 1a 8a cf 09 21 | 71 88 d1 70 21 88 64 d2 |!......!|q..p!.d.|
|000005c0| 5a 89 12 88 0a 66 d3 3d | 3f 85 5c 5c 00 d4 09 21 |Z....f.=|?.\\...!|
|000005d0| d5 3d 3f 85 4e 00 d6 20 | 88 d7 d8 c3 5c 22 88 d0 |.=?.N.. |....\"..|
|000005e0| 09 21 88 64 d2 5a 89 12 | 88 82 36 00 88 65 62 88 |.!.d.Z..|..6..eb.|
|000005f0| d9 70 21 1c 0c 40 d2 55 | 3f 85 71 00 da db 0c 40 |.p!..@.U|?.q....@|
|00000600| 5c 22 88 c5 0c 41 40 21 | 29 88 dc 65 0a 5c 22 29 |\"...A@!|)..e.\")|
|00000610| 29 87 22 20 5b 62 75 66 | 20 69 73 70 65 6c 6c 2d |)." [buf| ispell-|
|00000620| 70 72 6f 63 65 73 73 20 | 6c 61 73 74 2d 63 68 61 |process |last-cha|
|00000630| 72 20 6e 69 6c 20 67 72 | 65 65 74 69 6e 67 20 6d |r nil gr|eeting m|
|00000640| 65 73 73 61 67 65 20 22 | 53 74 61 72 74 69 6e 67 |essage "|Starting|
|00000650| 20 69 73 70 65 6c 6c 20 | 2e 2e 2e 22 20 67 65 74 | ispell |..." get|
|00000660| 2d 62 75 66 66 65 72 20 | 22 2a 69 73 70 65 6c 6c |-buffer |"*ispell|
|00000670| 2a 22 20 6b 69 6c 6c 2d | 62 75 66 66 65 72 20 65 |*" kill-|buffer e|
|00000680| 72 72 20 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c1 |rr (byte|-code ".|
|00000690| c2 c3 c2 c4 24 89 10 87 | 22 20 5b 69 73 70 65 6c |....$...|" [ispel|
|000006a0| 6c 2d 70 72 6f 63 65 73 | 73 20 73 74 61 72 74 2d |l-proces|s start-|
|000006b0| 70 72 6f 63 65 73 73 20 | 22 69 73 70 65 6c 6c 22 |process |"ispell"|
|000006c0| 20 22 2a 69 73 70 65 6c | 6c 2a 22 20 22 2d 53 22 | "*ispel|l*" "-S"|
|000006d0| 5d 20 35 29 20 28 28 66 | 69 6c 65 2d 65 72 72 6f |] 5) ((f|ile-erro|
|000006e0| 72 20 28 62 79 74 65 2d | 63 6f 64 65 20 22 c1 c2 |r (byte-|code "..|
|000006f0| c0 5c 22 87 22 20 5b 6e | 69 6c 20 73 69 67 6e 61 |.\"." [n|il signa|
|00000700| 6c 20 69 73 70 65 6c 6c | 2d 73 74 61 72 74 75 70 |l ispell|-startup|
|00000710| 2d 65 72 72 6f 72 5d 20 | 33 29 29 29 20 70 72 6f |-error] |3))) pro|
|00000720| 63 65 73 73 2d 6b 69 6c | 6c 2d 77 69 74 68 6f 75 |cess-kil|l-withou|
|00000730| 74 2d 71 75 65 72 79 20 | 62 75 66 66 65 72 2d 66 |t-query |buffer-f|
|00000740| 6c 75 73 68 2d 75 6e 64 | 6f 20 70 72 6f 63 65 73 |lush-und|o proces|
|00000750| 73 2d 62 75 66 66 65 72 | 20 61 63 63 65 70 74 2d |s-buffer| accept-|
|00000760| 70 72 6f 63 65 73 73 2d | 6f 75 74 70 75 74 20 62 |process-|output b|
|00000770| 75 72 79 2d 62 75 66 66 | 65 72 20 31 20 36 31 20 |ury-buff|er 1 61 |
|00000780| 70 72 6f 63 65 73 73 2d | 73 74 61 74 75 73 20 72 |process-|status r|
|00000790| 75 6e 20 6b 69 6c 6c 2d | 69 73 70 65 6c 6c 20 73 |un kill-|ispell s|
|000007a0| 69 67 6e 61 6c 20 69 73 | 70 65 6c 6c 2d 73 74 61 |ignal is|pell-sta|
|000007b0| 72 74 75 70 2d 65 72 72 | 6f 72 20 72 65 61 64 20 |rtup-err|or read |
|000007c0| 65 72 72 6f 72 20 22 42 | 61 64 20 69 73 70 65 6c |error "B|ad ispel|
|000007d0| 6c 20 76 65 72 73 69 6f | 6e 3a 20 77 61 6e 74 65 |l versio|n: wante|
|000007e0| 64 20 31 2c 20 67 6f 74 | 20 25 64 22 20 64 65 6c |d 1, got| %d" del|
|000007f0| 65 74 65 2d 72 65 67 69 | 6f 6e 5d 20 31 39 29 29 |ete-regi|on] 19))|
|00000800| 0a 0a 28 64 65 66 75 6e | 20 69 73 70 65 6c 6c 2d |..(defun| ispell-|
|00000810| 73 79 6e 63 20 28 69 6e | 74 72 29 20 22 5c 0a 4d |sync (in|tr) "\.M|
|00000820| 61 6b 65 20 73 75 72 65 | 20 69 73 70 65 6c 6c 20 |ake sure| ispell |
|00000830| 69 73 20 72 65 61 64 79 | 20 66 6f 72 20 61 20 63 |is ready| for a c|
|00000840| 6f 6d 6d 61 6e 64 2e 22 | 20 28 62 79 74 65 2d 63 |ommand."| (byte-c|
|00000850| 6f 64 65 20 22 08 3f 86 | 0b 00 c3 08 21 c4 3d 3f |ode ".?.|....!.=?|
|00000860| 85 10 00 c5 20 88 09 85 | 18 00 c6 08 21 88 c7 1a |.... ...|....!...|
|00000870| c8 08 21 71 88 c9 70 21 | 88 64 ca 5a 89 12 88 0a |..!q..p!|.d.Z....|
|00000880| 66 cb 3d 3f 85 3f 00 cc | 08 21 88 64 ca 5a 89 12 |f.=?.?..|.!.d.Z..|
|00000890| 88 82 2a 00 88 0a 62 29 | 87 22 20 5b 69 73 70 65 |..*...b)|." [ispe|
|000008a0| 6c 6c 2d 70 72 6f 63 65 | 73 73 20 69 6e 74 72 20 |ll-proce|ss intr |
|000008b0| 6c 61 73 74 2d 63 68 61 | 72 20 70 72 6f 63 65 73 |last-cha|r proces|
|000008c0| 73 2d 73 74 61 74 75 73 | 20 72 75 6e 20 73 74 61 |s-status| run sta|
|000008d0| 72 74 2d 69 73 70 65 6c | 6c 20 69 6e 74 65 72 72 |rt-ispel|l interr|
|000008e0| 75 70 74 2d 70 72 6f 63 | 65 73 73 20 6e 69 6c 20 |upt-proc|ess nil |
|000008f0| 70 72 6f 63 65 73 73 2d | 62 75 66 66 65 72 20 62 |process-|buffer b|
|00000900| 75 72 79 2d 62 75 66 66 | 65 72 20 31 20 36 31 20 |ury-buff|er 1 61 |
|00000910| 61 63 63 65 70 74 2d 70 | 72 6f 63 65 73 73 2d 6f |accept-p|rocess-o|
|00000920| 75 74 70 75 74 5d 20 39 | 29 29 0a 0a 28 64 65 66 |utput] 9|))..(def|
|00000930| 75 6e 20 69 73 70 65 6c | 6c 2d 63 6d 64 20 28 26 |un ispel|l-cmd (&|
|00000940| 72 65 73 74 20 73 74 72 | 69 6e 67 73 29 20 22 5c |rest str|ings) "\|
|00000950| 0a 53 65 6e 64 20 61 20 | 63 6f 6d 6d 61 6e 64 20 |.Send a |command |
|00000960| 74 6f 20 69 73 70 65 6c | 6c 2e 20 20 43 68 6f 69 |to ispel|l. Choi|
|00000970| 63 65 73 20 61 72 65 3a | 0a 0a 77 6f 72 64 09 09 |ces are:|..word..|
|00000980| 61 6e 79 20 77 6f 72 64 | 20 69 73 20 63 68 65 63 |any word| is chec|
|00000990| 6b 65 64 20 66 6f 72 20 | 73 70 65 6c 6c 69 6e 67 |ked for |spelling|
|000009a0| 2e 20 20 52 65 73 75 6c | 74 20 69 73 0a 0a 09 09 |. Resul|t is....|
|000009b0| 09 6e 69 6c 09 09 09 6e | 6f 74 20 66 6f 75 6e 64 |.nil...n|ot found|
|000009c0| 0a 09 09 09 74 09 09 09 | 73 70 65 6c 6c 65 64 20 |....t...|spelled |
|000009d0| 6f 6b 0a 09 09 09 6c 69 | 73 74 20 6f 66 20 73 74 |ok....li|st of st|
|000009e0| 72 69 6e 67 73 09 09 6e | 65 61 72 20 6d 69 73 73 |rings..n|ear miss|
|000009f0| 65 73 0a 0a 3a 66 69 6c | 65 20 66 69 6c 65 6e 61 |es..:fil|e filena|
|00000a00| 6d 65 09 73 63 61 6e 20 | 74 68 65 20 6e 61 6d 65 |me.scan |the name|
|00000a10| 64 20 66 69 6c 65 2c 20 | 61 6e 64 20 70 72 69 6e |d file, |and prin|
|00000a20| 74 20 74 68 65 20 66 69 | 6c 65 20 6f 66 66 73 65 |t the fi|le offse|
|00000a30| 74 73 20 6f 66 0a 09 09 | 61 6e 79 20 6d 69 73 73 |ts of...|any miss|
|00000a40| 70 65 6c 6c 65 64 20 77 | 6f 72 64 73 0a 0a 3a 69 |pelled w|ords..:i|
|00000a50| 6e 73 65 72 74 20 77 6f | 72 64 09 70 75 74 20 77 |nsert wo|rd.put w|
|00000a60| 6f 72 64 20 69 6e 20 70 | 72 69 76 61 74 65 20 64 |ord in p|rivate d|
|00000a70| 69 63 74 6f 6e 61 72 79 | 0a 0a 3a 61 63 63 65 70 |ictonary|..:accep|
|00000a80| 74 20 77 6f 72 64 09 64 | 6f 6e 27 74 20 63 6f 6d |t word.d|on't com|
|00000a90| 70 6c 61 69 6e 20 61 62 | 6f 75 74 20 77 6f 72 64 |plain ab|out word|
|00000aa0| 20 61 6e 79 20 6d 6f 72 | 65 20 74 68 69 73 20 73 | any mor|e this s|
|00000ab0| 65 73 73 69 6f 6e 0a 0a | 3a 64 75 6d 70 09 09 77 |ession..|:dump..w|
|00000ac0| 72 69 74 65 20 6f 75 74 | 20 74 68 65 20 63 75 72 |rite out| the cur|
|00000ad0| 72 65 6e 74 20 70 72 69 | 76 61 74 65 20 64 69 63 |rent pri|vate dic|
|00000ae0| 74 69 6f 6e 61 72 79 2c | 20 69 66 20 6e 65 63 65 |tionary,| if nece|
|00000af0| 73 73 61 72 79 2e 0a 0a | 3a 72 65 6c 6f 61 64 09 |ssary...|:reload.|
|00000b00| 09 72 65 72 65 61 64 20 | 7e 2f 69 73 70 65 6c 6c |.reread |~/ispell|
|00000b10| 2e 77 6f 72 64 73 0a 0a | 3a 74 65 78 0a 3a 74 72 |.words..|:tex.:tr|
|00000b20| 6f 66 66 0a 3a 67 65 6e | 65 72 69 63 09 73 65 74 |off.:gen|eric.set|
|00000b30| 20 74 79 70 65 20 6f 66 | 20 70 61 72 73 65 72 20 | type of| parser |
|00000b40| 74 6f 20 75 73 65 20 77 | 68 65 6e 20 73 63 61 6e |to use w|hen scan|
|00000b50| 6e 69 6e 67 20 77 68 6f | 6c 65 20 66 69 6c 65 73 |ning who|le files|
|00000b60| 0a 22 20 28 62 79 74 65 | 2d 63 6f 64 65 20 22 8a |." (byte|-code ".|
|00000b70| c5 c0 21 88 c6 09 21 71 | 88 c7 70 21 88 c8 20 88 |..!...!q|..p!.. .|
|00000b80| 65 89 12 88 0b 85 27 00 | c9 09 0b 40 5c 22 88 0b |e.....'.|...@\"..|
|00000b90| 41 89 13 88 82 15 00 88 | c9 09 ca 5c 22 88 cb 09 |A.......|...\"...|
|00000ba0| 21 88 c5 c4 21 29 87 22 | 20 5b 74 20 69 73 70 65 |!...!)."| [t ispe|
|00000bb0| 6c 6c 2d 70 72 6f 63 65 | 73 73 20 69 73 70 65 6c |ll-proce|ss ispel|
|00000bc0| 6c 2d 6e 65 78 74 2d 6d | 65 73 73 61 67 65 20 73 |l-next-m|essage s|
|00000bd0| 74 72 69 6e 67 73 20 6e | 69 6c 20 69 73 70 65 6c |trings n|il ispel|
|00000be0| 6c 2d 73 79 6e 63 20 70 | 72 6f 63 65 73 73 2d 62 |l-sync p|rocess-b|
|00000bf0| 75 66 66 65 72 20 62 75 | 72 79 2d 62 75 66 66 65 |uffer bu|ry-buffe|
|00000c00| 72 20 65 72 61 73 65 2d | 62 75 66 66 65 72 20 70 |r erase-|buffer p|
|00000c10| 72 6f 63 65 73 73 2d 73 | 65 6e 64 2d 73 74 72 69 |rocess-s|end-stri|
|00000c20| 6e 67 20 22 0a 22 20 61 | 63 63 65 70 74 2d 70 72 |ng "." a|ccept-pr|
|00000c30| 6f 63 65 73 73 2d 6f 75 | 74 70 75 74 5d 20 39 29 |ocess-ou|tput] 9)|
|00000c40| 29 0a 0a 28 64 65 66 75 | 6e 20 69 73 70 65 6c 6c |)..(defu|n ispell|
|00000c50| 2d 64 75 6d 70 20 6e 69 | 6c 20 28 62 79 74 65 2d |-dump ni|l (byte-|
|00000c60| 63 6f 64 65 20 22 08 85 | 0b 00 c1 89 10 88 c2 c3 |code "..|........|
|00000c70| 21 87 22 20 5b 69 73 70 | 65 6c 6c 2d 64 75 6d 70 |!." [isp|ell-dump|
|00000c80| 2d 6e 65 65 64 65 64 20 | 6e 69 6c 20 69 73 70 65 |-needed |nil ispe|
|00000c90| 6c 6c 2d 63 6d 64 20 22 | 3a 64 75 6d 70 22 5d 20 |ll-cmd "|:dump"] |
|00000ca0| 32 29 29 0a 0a 28 64 65 | 66 75 6e 20 69 73 70 65 |2))..(de|fun ispe|
|00000cb0| 6c 6c 2d 69 6e 73 65 72 | 74 20 28 77 6f 72 64 29 |ll-inser|t (word)|
|00000cc0| 20 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c5 c6 08 | (byte-c|ode "...|
|00000cd0| 5c 22 88 09 85 0e 00 08 | 0a 42 89 12 88 c4 89 13 |\"......|.B......|
|00000ce0| 87 22 20 5b 77 6f 72 64 | 20 69 73 70 65 6c 6c 2d |." [word| ispell-|
|00000cf0| 62 61 64 2d 77 6f 72 64 | 73 20 69 73 70 65 6c 6c |bad-word|s ispell|
|00000d00| 2d 72 65 63 65 6e 74 6c | 79 2d 61 63 63 65 70 74 |-recentl|y-accept|
|00000d10| 65 64 20 69 73 70 65 6c | 6c 2d 64 75 6d 70 2d 6e |ed ispel|l-dump-n|
|00000d20| 65 65 64 65 64 20 74 20 | 69 73 70 65 6c 6c 2d 63 |eeded t |ispell-c|
|00000d30| 6d 64 20 22 3a 69 6e 73 | 65 72 74 20 22 5d 20 33 |md ":ins|ert "] 3|
|00000d40| 29 29 0a 0a 28 64 65 66 | 75 6e 20 69 73 70 65 6c |))..(def|un ispel|
|00000d50| 6c 2d 61 63 63 65 70 74 | 20 28 77 6f 72 64 29 20 |l-accept| (word) |
|00000d60| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c3 c4 08 5c |(byte-co|de "...\|
|00000d70| 22 88 09 85 0e 00 08 0a | 42 89 12 87 22 20 5b 77 |".......|B..." [w|
|00000d80| 6f 72 64 20 69 73 70 65 | 6c 6c 2d 62 61 64 2d 77 |ord ispe|ll-bad-w|
|00000d90| 6f 72 64 73 20 69 73 70 | 65 6c 6c 2d 72 65 63 65 |ords isp|ell-rece|
|00000da0| 6e 74 6c 79 2d 61 63 63 | 65 70 74 65 64 20 69 73 |ntly-acc|epted is|
|00000db0| 70 65 6c 6c 2d 63 6d 64 | 20 22 3a 61 63 63 65 70 |pell-cmd| ":accep|
|00000dc0| 74 20 22 5d 20 33 29 29 | 0a 0a 28 64 65 66 75 6e |t "] 3))|..(defun|
|00000dd0| 20 69 73 70 65 6c 6c 2d | 6e 65 78 74 2d 6d 65 73 | ispell-|next-mes|
|00000de0| 73 61 67 65 20 6e 69 6c | 20 22 5c 0a 52 65 74 75 |sage nil| "\.Retu|
|00000df0| 72 6e 20 74 68 65 20 6e | 65 78 74 20 6d 65 73 73 |rn the n|ext mess|
|00000e00| 61 67 65 20 73 65 6e 74 | 20 62 79 20 74 68 65 20 |age sent| by the |
|00000e10| 69 73 70 65 6c 6c 20 73 | 75 62 70 72 6f 63 65 73 |ispell s|ubproces|
|00000e20| 73 2e 22 20 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |s." (byt|e-code "|
|00000e30| 8a c2 08 21 71 88 c3 70 | 21 88 8c 09 62 88 c4 60 |...!q..p|!...b..`|
|00000e40| c5 c6 21 88 60 5c 22 88 | 60 89 11 88 65 62 88 c7 |..!.`\".|`...eb..|
|00000e50| 70 21 29 29 87 22 20 5b | 69 73 70 65 6c 6c 2d 70 |p!))." [|ispell-p|
|00000e60| 72 6f 63 65 73 73 20 69 | 73 70 65 6c 6c 2d 6e 65 |rocess i|spell-ne|
|00000e70| 78 74 2d 6d 65 73 73 61 | 67 65 20 70 72 6f 63 65 |xt-messa|ge proce|
|00000e80| 73 73 2d 62 75 66 66 65 | 72 20 62 75 72 79 2d 62 |ss-buffe|r bury-b|
|00000e90| 75 66 66 65 72 20 6e 61 | 72 72 6f 77 2d 74 6f 2d |uffer na|rrow-to-|
|00000ea0| 72 65 67 69 6f 6e 20 66 | 6f 72 77 61 72 64 2d 73 |region f|orward-s|
|00000eb0| 65 78 70 20 31 20 72 65 | 61 64 5d 20 36 29 29 0a |exp 1 re|ad] 6)).|
|00000ec0| 0a 28 64 65 66 75 6e 20 | 69 73 70 65 6c 6c 2d 74 |.(defun |ispell-t|
|00000ed0| 65 78 2d 62 75 66 66 65 | 72 2d 70 20 6e 69 6c 20 |ex-buffe|r-p nil |
|00000ee0| 28 62 79 74 65 2d 63 6f | 64 65 20 22 08 c1 3e 87 |(byte-co|de "..>.|
|00000ef0| 22 20 5b 6d 61 6a 6f 72 | 2d 6d 6f 64 65 20 28 70 |" [major|-mode (p|
|00000f00| 6c 61 69 6e 2d 54 65 58 | 2d 6d 6f 64 65 20 4c 61 |lain-TeX|-mode La|
|00000f10| 54 65 58 2d 6d 6f 64 65 | 29 5d 20 32 29 29 0a 0a |TeX-mode|)] 2))..|
|00000f20| 28 64 65 66 75 6e 20 69 | 73 70 65 6c 6c 20 28 26 |(defun i|spell (&|
|00000f30| 6f 70 74 69 6f 6e 61 6c | 20 62 75 66 20 73 74 61 |optional| buf sta|
|00000f40| 72 74 20 65 6e 64 29 20 | 22 5c 0a 52 75 6e 20 69 |rt end) |"\.Run i|
|00000f50| 73 70 65 6c 6c 20 6f 76 | 65 72 20 61 20 62 75 66 |spell ov|er a buf|
|00000f60| 66 65 72 2e 20 20 28 41 | 63 74 75 61 6c 6c 79 20 |fer. (A|ctually |
|00000f70| 6f 76 65 72 20 74 68 65 | 20 62 75 66 66 65 72 27 |over the| buffer'|
|00000f80| 73 20 66 69 6c 65 2e 29 | 0a 46 69 72 73 74 20 74 |s file.)|.First t|
|00000f90| 68 65 20 66 69 6c 65 20 | 69 73 20 73 63 61 6e 6e |he file |is scann|
|00000fa0| 65 64 20 66 6f 72 20 6d | 69 73 73 70 65 6c 6c 65 |ed for m|isspelle|
|00000fb0| 64 20 77 6f 72 64 73 2c | 20 74 68 65 6e 20 69 73 |d words,| then is|
|00000fc0| 70 65 6c 6c 0a 65 6e 74 | 65 72 73 20 61 20 6c 6f |pell.ent|ers a lo|
|00000fd0| 6f 70 20 77 69 74 68 20 | 74 68 65 20 66 6f 6c 6c |op with |the foll|
|00000fe0| 6f 77 69 6e 67 20 63 6f | 6d 6d 61 6e 64 73 20 66 |owing co|mmands f|
|00000ff0| 6f 72 20 65 76 65 72 79 | 20 6d 69 73 73 70 65 6c |or every| misspel|
|00001000| 6c 65 64 20 77 6f 72 64 | 3a 0a 0a 44 49 47 49 54 |led word|:..DIGIT|
|00001010| 09 4e 65 61 72 20 6d 69 | 73 73 20 73 65 6c 65 63 |.Near mi|ss selec|
|00001020| 74 6f 72 2e 20 20 49 66 | 20 74 68 65 20 6d 69 73 |tor. If| the mis|
|00001030| 73 70 65 6c 6c 65 64 20 | 77 6f 72 64 20 69 73 20 |spelled |word is |
|00001040| 27 63 6c 6f 73 65 27 20 | 74 6f 0a 09 73 6f 6d 65 |'close' |to..some|
|00001050| 20 77 6f 72 64 73 20 69 | 6e 20 74 68 65 20 64 69 | words i|n the di|
|00001060| 63 74 69 6f 6e 61 72 79 | 2c 20 74 68 65 79 20 61 |ctionary|, they a|
|00001070| 72 65 20 6f 66 66 65 72 | 65 64 20 61 73 20 6e 65 |re offer|ed as ne|
|00001080| 61 72 20 6d 69 73 73 65 | 73 2e 0a 72 09 52 65 70 |ar misse|s..r.Rep|
|00001090| 6c 61 63 65 2e 20 20 52 | 65 70 6c 61 63 65 20 74 |lace. R|eplace t|
|000010a0| 68 65 20 77 6f 72 64 20 | 77 69 74 68 20 61 20 73 |he word |with a s|
|000010b0| 74 72 69 6e 67 20 79 6f | 75 20 74 79 70 65 2e 20 |tring yo|u type. |
|000010c0| 20 45 61 63 68 20 77 6f | 72 64 0a 09 6f 66 20 79 | Each wo|rd..of y|
|000010d0| 6f 75 72 20 6e 65 77 20 | 73 74 72 69 6e 67 20 69 |our new |string i|
|000010e0| 73 20 61 6c 73 6f 20 63 | 68 65 63 6b 65 64 2e 0a |s also c|hecked..|
|000010f0| 69 09 49 6e 73 65 72 74 | 2e 20 20 49 6e 73 65 72 |i.Insert|. Inser|
|00001100| 74 20 74 68 69 73 20 77 | 6f 72 64 20 69 6e 20 79 |t this w|ord in y|
|00001110| 6f 75 72 20 70 72 69 76 | 61 74 65 20 64 69 63 74 |our priv|ate dict|
|00001120| 6f 6e 61 72 79 20 28 6b | 65 70 74 20 69 6e 0a 09 |onary (k|ept in..|
|00001130| 24 48 4f 4d 45 2f 69 73 | 70 65 6c 6c 2e 77 6f 72 |$HOME/is|pell.wor|
|00001140| 64 73 29 0a 61 09 41 63 | 63 65 70 74 2e 20 20 41 |ds).a.Ac|cept. A|
|00001150| 63 63 65 70 74 20 74 68 | 69 73 20 77 6f 72 64 20 |ccept th|is word |
|00001160| 66 6f 72 20 74 68 65 20 | 72 65 73 74 20 6f 66 20 |for the |rest of |
|00001170| 74 68 69 73 20 65 64 69 | 74 69 6e 67 20 73 65 73 |this edi|ting ses|
|00001180| 73 69 6f 6e 2c 0a 20 09 | 62 75 74 20 64 6f 6e 27 |sion,. .|but don'|
|00001190| 74 20 70 75 74 20 69 74 | 20 69 6e 20 79 6f 75 72 |t put it| in your|
|000011a0| 20 70 72 69 76 61 74 65 | 20 64 69 63 74 6f 6e 61 | private| dictona|
|000011b0| 72 79 2e 0a 6c 09 4c 6f | 6f 6b 75 70 2e 20 20 4c |ry..l.Lo|okup. L|
|000011c0| 6f 6f 6b 20 66 6f 72 20 | 61 20 77 6f 72 64 20 69 |ook for |a word i|
|000011d0| 6e 20 74 68 65 20 64 69 | 63 74 69 6f 6e 61 72 79 |n the di|ctionary|
|000011e0| 20 62 79 20 66 61 73 74 | 20 62 69 6e 61 72 79 0a | by fast| binary.|
|000011f0| 09 73 65 61 72 63 68 2c | 20 6f 72 20 73 65 61 72 |.search,| or sear|
|00001200| 63 68 20 66 6f 72 20 61 | 20 72 65 67 75 6c 61 72 |ch for a| regular|
|00001210| 20 65 78 70 72 65 73 73 | 69 6f 6e 20 69 6e 20 74 | express|ion in t|
|00001220| 68 65 20 64 69 63 74 69 | 6f 6e 61 72 79 0a 09 75 |he dicti|onary..u|
|00001230| 73 69 6e 67 20 67 72 65 | 70 2e 0a 53 50 41 43 45 |sing gre|p..SPACE|
|00001240| 09 41 63 63 65 70 74 20 | 74 68 65 20 77 6f 72 64 |.Accept |the word|
|00001250| 20 74 68 69 73 20 74 69 | 6d 65 2c 20 62 75 74 20 | this ti|me, but |
|00001260| 63 6f 6d 70 6c 61 69 6e | 20 69 66 20 69 74 20 69 |complain| if it i|
|00001270| 73 20 73 65 65 6e 20 61 | 67 61 69 6e 2e 0a 71 2c |s seen a|gain..q,|
|00001280| 20 43 2d 47 09 4c 65 61 | 76 65 20 74 68 65 20 63 | C-G.Lea|ve the c|
|00001290| 6f 6d 6d 61 6e 64 20 6c | 6f 6f 70 2e 20 20 59 6f |ommand l|oop. Yo|
|000012a0| 75 20 63 61 6e 20 63 6f | 6d 65 20 62 61 63 6b 20 |u can co|me back |
|000012b0| 6c 61 74 65 72 20 77 69 | 74 68 20 5c 5c 5b 69 73 |later wi|th \\[is|
|000012c0| 70 65 6c 6c 2d 6e 65 78 | 74 5d 2e 22 20 28 69 6e |pell-nex|t]." (in|
|000012d0| 74 65 72 61 63 74 69 76 | 65 29 20 28 62 79 74 65 |teractiv|e) (byte|
|000012e0| 2d 63 6f 64 65 20 22 c6 | 88 08 3f 85 0a 00 cc 89 |-code ".|..?.....|
|000012f0| 10 88 09 3f 85 13 00 cc | 89 11 88 0a 3f 85 1c 00 |...?....|....?...|
|00001300| 70 89 12 88 cd 0a 21 89 | 12 88 0a 3f 85 2b 00 ce |p.....!.|...?.+..|
|00001310| cf 21 88 8a 0a 71 88 0c | c6 1d 1b d0 8e 0b 3f 83 |.!...q..|......?.|
|00001320| 4d 00 d1 d2 21 89 13 88 | c7 89 15 88 d3 65 64 0b |M...!...|.....ed.|
|00001330| 23 82 5e 00 d4 0a 21 85 | 59 00 d5 d6 d7 0b 5c 22 |#.^...!.|Y.....\"|
|00001340| 21 85 5e 00 d8 20 88 d9 | da 21 88 0e 08 85 6a 00 |!.^.. ..|.!....j.|
|00001350| db 20 83 73 00 dc dd 21 | 82 76 00 dc de 21 88 dc |. .s...!|.v...!..|
|00001360| d6 df 0b 08 09 24 21 29 | 2a 88 d9 e0 21 88 e1 20 |.....$!)|*...!.. |
|00001370| 88 c6 c6 1e 0a 1e 09 e2 | e3 20 89 16 09 21 85 b8 |........|. ...!..|
|00001380| 00 09 cc 55 86 a3 00 0e | 09 09 57 85 b4 00 e4 e5 |...U....|..W.....|
|00001390| 20 0e 09 e6 5c 5c 5c 22 | 0e 0a 42 89 16 0a 88 82 | ...\\\"|..B.....|
|000013a0| 8f 00 88 0e 09 0e 0a 42 | 89 16 0a 88 e7 0e 0a 21 |.......B|.......!|
|000013b0| 89 16 0b 2a 29 88 e8 0e | 0b 40 21 3f 83 e0 00 c6 |...*)...|.@!?....|
|000013c0| 89 16 0b 88 d9 e9 21 82 | e6 00 d9 ea 21 88 eb 20 |......!.|....!.. |
|000013d0| 87 22 20 5b 73 74 61 72 | 74 20 65 6e 64 20 62 75 |." [star|t end bu|
|000013e0| 66 20 66 69 6c 65 6e 61 | 6d 65 20 62 75 66 66 65 |f filena|me buffe|
|000013f0| 72 2d 66 69 6c 65 2d 6e | 61 6d 65 20 64 65 6c 65 |r-file-n|ame dele|
|00001400| 74 65 2d 74 65 6d 70 20 | 6e 69 6c 20 74 20 69 73 |te-temp |nil t is|
|00001410| 70 65 6c 6c 2d 65 6e 61 | 62 6c 65 2d 74 65 78 2d |pell-ena|ble-tex-|
|00001420| 70 61 72 73 65 72 20 70 | 6f 73 20 62 61 64 2d 77 |parser p|os bad-w|
|00001430| 6f 72 64 73 20 69 73 70 | 65 6c 6c 2d 62 61 64 2d |ords isp|ell-bad-|
|00001440| 77 6f 72 64 73 20 30 20 | 67 65 74 2d 62 75 66 66 |words 0 |get-buff|
|00001450| 65 72 20 65 72 72 6f 72 | 20 22 43 61 6e 27 74 20 |er error| "Can't |
|00001460| 66 69 6e 64 20 62 75 66 | 66 65 72 22 20 28 28 62 |find buf|fer" ((b|
|00001470| 79 74 65 2d 63 6f 64 65 | 20 22 08 85 08 00 c1 c2 |yte-code| "......|
|00001480| c3 8f 87 22 20 5b 64 65 | 6c 65 74 65 2d 74 65 6d |..." [de|lete-tem|
|00001490| 70 20 6e 69 6c 20 28 62 | 79 74 65 2d 63 6f 64 65 |p nil (b|yte-code|
|000014a0| 20 22 c1 08 21 87 22 20 | 5b 66 69 6c 65 6e 61 6d | "..!." |[filenam|
|000014b0| 65 20 64 65 6c 65 74 65 | 2d 66 69 6c 65 5d 20 32 |e delete|-file] 2|
|000014c0| 29 20 28 28 66 69 6c 65 | 2d 65 72 72 6f 72 20 28 |) ((file|-error (|
|000014d0| 62 79 74 65 2d 63 6f 64 | 65 20 22 c0 87 22 20 5b |byte-cod|e ".." [|
|000014e0| 6e 69 6c 5d 20 31 29 29 | 29 5d 20 33 29 29 20 6d |nil] 1))|)] 3)) m|
|000014f0| 61 6b 65 2d 74 65 6d 70 | 2d 6e 61 6d 65 20 22 2f |ake-temp|-name "/|
|00001500| 75 73 72 2f 74 6d 70 2f | 69 73 70 65 6c 6c 22 20 |usr/tmp/|ispell" |
|00001510| 77 72 69 74 65 2d 72 65 | 67 69 6f 6e 20 62 75 66 |write-re|gion buf|
|00001520| 66 65 72 2d 6d 6f 64 69 | 66 69 65 64 2d 70 20 79 |fer-modi|fied-p y|
|00001530| 2d 6f 72 2d 6e 2d 70 20 | 66 6f 72 6d 61 74 20 22 |-or-n-p |format "|
|00001540| 53 61 76 65 20 66 69 6c | 65 20 25 73 3f 20 22 20 |Save fil|e %s? " |
|00001550| 73 61 76 65 2d 62 75 66 | 66 65 72 20 6d 65 73 73 |save-buf|fer mess|
|00001560| 61 67 65 20 22 49 73 70 | 65 6c 6c 20 73 63 61 6e |age "Isp|ell scan|
|00001570| 6e 69 6e 67 20 66 69 6c | 65 2e 2e 2e 22 20 69 73 |ning fil|e..." is|
|00001580| 70 65 6c 6c 2d 74 65 78 | 2d 62 75 66 66 65 72 2d |pell-tex|-buffer-|
|00001590| 70 20 69 73 70 65 6c 6c | 2d 63 6d 64 20 22 3a 74 |p ispell|-cmd ":t|
|000015a0| 65 78 22 20 22 3a 67 65 | 6e 65 72 69 63 22 20 22 |ex" ":ge|neric" "|
|000015b0| 3a 66 69 6c 65 20 25 73 | 20 25 64 20 25 64 22 20 |:file %s| %d %d" |
|000015c0| 22 50 61 72 73 69 6e 67 | 20 69 73 70 65 6c 6c 20 |"Parsing| ispell |
|000015d0| 6f 75 74 70 75 74 20 2e | 2e 2e 22 20 69 73 70 65 |output .|.." ispe|
|000015e0| 6c 6c 2d 66 6c 75 73 68 | 2d 62 61 64 2d 77 6f 72 |ll-flush|-bad-wor|
|000015f0| 64 73 20 6e 75 6d 62 65 | 72 70 20 69 73 70 65 6c |ds numbe|rp ispel|
|00001600| 6c 2d 6e 65 78 74 2d 6d | 65 73 73 61 67 65 20 73 |l-next-m|essage s|
|00001610| 65 74 2d 6d 61 72 6b 65 | 72 20 6d 61 6b 65 2d 6d |et-marke|r make-m|
|00001620| 61 72 6b 65 72 20 31 20 | 6e 72 65 76 65 72 73 65 |arker 1 |nreverse|
|00001630| 20 6d 61 72 6b 65 72 70 | 20 22 4e 6f 20 6d 69 73 | markerp| "No mis|
|00001640| 73 70 65 6c 6c 69 6e 67 | 73 2e 22 20 22 49 73 70 |spelling|s." "Isp|
|00001650| 65 6c 6c 20 70 61 72 73 | 69 6e 67 20 64 6f 6e 65 |ell pars|ing done|
|00001660| 2e 22 20 69 73 70 65 6c | 6c 2d 6e 65 78 74 5d 20 |." ispel|l-next] |
|00001670| 32 36 29 29 0a 0a 28 64 | 65 66 75 6e 20 69 73 70 |26))..(d|efun isp|
|00001680| 65 6c 6c 2d 6e 65 78 74 | 20 6e 69 6c 20 22 5c 0a |ell-next| nil "\.|
|00001690| 52 65 73 75 6d 65 20 63 | 6f 6d 6d 61 6e 64 20 6c |Resume c|ommand l|
|000016a0| 6f 6f 70 20 66 6f 72 20 | 6d 6f 73 74 20 72 65 63 |oop for |most rec|
|000016b0| 65 6e 74 20 69 73 70 65 | 6c 6c 20 63 6f 6d 6d 61 |ent ispe|ll comma|
|000016c0| 6e 64 2e 22 20 28 69 6e | 74 65 72 61 63 74 69 76 |nd." (in|teractiv|
|000016d0| 65 29 20 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c1 |e) (byte|-code ".|
|000016e0| 88 c3 8e c4 c5 8d 29 88 | c6 20 87 22 20 5b 69 73 |......).|. ." [is|
|000016f0| 70 65 6c 6c 2d 62 61 64 | 2d 77 6f 72 64 73 20 6e |pell-bad|-words n|
|00001700| 69 6c 20 74 20 28 28 62 | 79 74 65 2d 63 6f 64 65 |il t ((b|yte-code|
|00001710| 20 22 08 3f 83 0b 00 c3 | c4 21 82 43 00 c5 08 40 | ".?....|.!.C...@|
|00001720| 21 83 1a 00 c6 c7 c8 21 | 21 82 43 00 08 40 c1 3d |!......!|!.C..@.=|
|00001730| 83 2b 00 c1 89 10 88 c6 | c9 21 82 43 00 08 40 c2 |.+......|.!.C..@.|
|00001740| 3d 83 3c 00 c1 89 10 88 | c6 ca 21 82 43 00 c1 89 |=.<.....|..!.C...|
|00001750| 10 88 c6 cb 21 87 22 20 | 5b 69 73 70 65 6c 6c 2d |....!." |[ispell-|
|00001760| 62 61 64 2d 77 6f 72 64 | 73 20 6e 69 6c 20 74 20 |bad-word|s nil t |
|00001770| 65 72 72 6f 72 20 22 49 | 73 70 65 6c 6c 20 68 61 |error "I|spell ha|
|00001780| 73 20 6e 6f 74 20 79 65 | 74 20 62 65 65 6e 20 72 |s not ye|t been r|
|00001790| 75 6e 2e 22 20 6d 61 72 | 6b 65 72 70 20 6d 65 73 |un." mar|kerp mes|
|000017a0| 73 61 67 65 20 73 75 62 | 73 74 69 74 75 74 65 2d |sage sub|stitute-|
|000017b0| 63 6f 6d 6d 61 6e 64 2d | 6b 65 79 73 20 22 54 79 |command-|keys "Ty|
|000017c0| 70 65 20 5c 5c 5b 69 73 | 70 65 6c 6c 2d 6e 65 78 |pe \\[is|pell-nex|
|000017d0| 74 5d 20 74 6f 20 63 6f | 6e 74 69 6e 75 65 2e 22 |t] to co|ntinue."|
|000017e0| 20 22 4e 6f 20 6d 6f 72 | 65 20 6d 69 73 73 70 65 | "No mor|e misspe|
|000017f0| 6c 6c 69 6e 67 73 20 28 | 62 75 74 20 63 68 65 63 |llings (|but chec|
|00001800| 6b 65 72 20 77 61 73 20 | 69 6e 74 65 72 72 75 70 |ker was |interrup|
|00001810| 74 65 64 2e 29 22 20 22 | 49 73 70 65 6c 6c 20 64 |ted.)" "|Ispell d|
|00001820| 6f 6e 65 2e 22 20 22 42 | 61 64 20 69 73 70 65 6c |one." "B|ad ispel|
|00001830| 6c 20 69 6e 74 65 72 6e | 61 6c 20 6c 69 73 74 22 |l intern|al list"|
|00001840| 5d 20 38 29 29 20 71 75 | 69 74 20 28 62 79 74 65 |] 8)) qu|it (byte|
|00001850| 2d 63 6f 64 65 20 22 c3 | 8b 87 22 20 5b 6e 65 78 |-code ".|.." [nex|
|00001860| 74 20 69 73 70 65 6c 6c | 2d 62 61 64 2d 77 6f 72 |t ispell|-bad-wor|
|00001870| 64 73 20 6e 69 6c 20 28 | 28 62 79 74 65 2d 63 6f |ds nil (|(byte-co|
|00001880| 64 65 20 22 8a c2 18 c3 | 09 40 89 10 21 85 27 00 |de "....|.@..!.'.|
|00001890| c4 c5 08 21 21 88 c6 20 | 88 c7 08 c8 5c 22 88 09 |...!!.. |....\"..|
|000018a0| 41 89 11 88 c9 08 c2 5c | 22 88 82 03 00 29 29 87 |A......\|"....)).|
|000018b0| 22 20 5b 6e 65 78 74 20 | 69 73 70 65 6c 6c 2d 62 |" [next |ispell-b|
|000018c0| 61 64 2d 77 6f 72 64 73 | 20 6e 69 6c 20 6d 61 72 |ad-words| nil mar|
|000018d0| 6b 65 72 70 20 73 77 69 | 74 63 68 2d 74 6f 2d 62 |kerp swi|tch-to-b|
|000018e0| 75 66 66 65 72 20 6d 61 | 72 6b 65 72 2d 62 75 66 |uffer ma|rker-buf|
|000018f0| 66 65 72 20 70 75 73 68 | 2d 6d 61 72 6b 20 69 73 |fer push|-mark is|
|00001900| 70 65 6c 6c 2d 70 6f 69 | 6e 74 20 22 61 74 20 73 |pell-poi|nt "at s|
|00001910| 61 76 65 64 20 70 6f 73 | 69 74 69 6f 6e 2e 22 20 |aved pos|ition." |
|00001920| 73 65 74 2d 6d 61 72 6b | 65 72 5d 20 39 29 29 5d |set-mark|er] 9))]|
|00001930| 20 31 29 20 69 73 70 65 | 6c 6c 2d 64 75 6d 70 5d | 1) ispe|ll-dump]|
|00001940| 20 32 29 29 0a 0a 28 64 | 65 66 75 6e 20 69 73 70 | 2))..(d|efun isp|
|00001950| 65 6c 6c 2d 77 6f 72 64 | 20 6e 69 6c 20 22 5c 0a |ell-word| nil "\.|
|00001960| 43 68 65 63 6b 20 74 68 | 65 20 73 70 65 6c 6c 69 |Check th|e spelli|
|00001970| 6e 67 20 6f 66 20 74 68 | 65 20 77 6f 72 64 20 75 |ng of th|e word u|
|00001980| 6e 64 65 72 20 74 68 65 | 20 63 75 72 73 6f 72 2e |nder the| cursor.|
|00001990| 20 20 53 65 65 20 27 69 | 73 70 65 6c 6c 27 0a 66 | See 'i|spell'.f|
|000019a0| 6f 72 20 6d 6f 72 65 20 | 64 6f 63 75 6d 65 6e 74 |or more |document|
|000019b0| 61 74 69 6f 6e 2e 22 20 | 28 69 6e 74 65 72 61 63 |ation." |(interac|
|000019c0| 74 69 76 65 29 20 28 62 | 79 74 65 2d 63 6f 64 65 |tive) (b|yte-code|
|000019d0| 20 22 c0 88 c1 c2 c3 8f | 87 22 20 5b 6e 69 6c 20 | "......|." [nil |
|000019e0| 65 72 72 20 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |err (byt|e-code "|
|000019f0| c0 c1 8d 87 22 20 5b 71 | 75 69 74 20 28 62 79 74 |...." [q|uit (byt|
|00001a00| 65 2d 63 6f 64 65 20 22 | c0 8b 88 c1 20 87 22 20 |e-code "|.... ." |
|00001a10| 5b 28 28 62 79 74 65 2d | 63 6f 64 65 20 22 c0 60 |[((byte-|code ".`|
|00001a20| c1 5c 22 87 22 20 5b 69 | 73 70 65 6c 6c 2d 70 6f |.\"." [i|spell-po|
|00001a30| 69 6e 74 20 22 61 74 20 | 70 6f 69 6e 74 2e 22 5d |int "at |point."]|
|00001a40| 20 33 29 29 20 69 73 70 | 65 6c 6c 2d 64 75 6d 70 | 3)) isp|ell-dump|
|00001a50| 5d 20 32 29 5d 20 32 29 | 20 28 28 69 73 70 65 6c |] 2)] 2)| ((ispel|
|00001a60| 6c 2d 73 74 61 72 74 75 | 70 2d 65 72 72 6f 72 20 |l-startu|p-error |
|00001a70| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c1 c2 21 85 |(byte-co|de "..!.|
|00001a80| 12 00 c3 c4 21 88 c5 08 | c6 c7 23 88 c7 20 87 22 |....!...|..#.. ."|
|00001a90| 20 5b 65 73 63 2d 6d 61 | 70 20 79 2d 6f 72 2d 6e | [esc-ma|p y-or-n|
|00001aa0| 2d 70 20 22 50 72 6f 62 | 6c 65 6d 20 73 74 61 72 |-p "Prob|lem star|
|00001ab0| 74 69 6e 67 20 69 73 70 | 65 6c 6c 2c 20 75 73 65 |ting isp|ell, use|
|00001ac0| 20 6f 6c 64 2d 73 74 79 | 6c 65 20 73 70 65 6c 6c | old-sty|le spell|
|00001ad0| 20 69 6e 73 74 65 61 64 | 3f 20 22 20 6c 6f 61 64 | instead|? " load|
|00001ae0| 2d 6c 69 62 72 61 72 79 | 20 22 73 70 65 6c 6c 22 |-library| "spell"|
|00001af0| 20 64 65 66 69 6e 65 2d | 6b 65 79 20 22 24 22 20 | define-|key "$" |
|00001b00| 73 70 65 6c 6c 2d 77 6f | 72 64 5d 20 36 29 29 29 |spell-wo|rd] 6)))|
|00001b10| 5d 20 33 29 29 0a 0a 28 | 64 65 66 75 6e 20 69 73 |] 3))..(|defun is|
|00001b20| 70 65 6c 6c 2d 72 65 67 | 69 6f 6e 20 28 73 74 61 |pell-reg|ion (sta|
|00001b30| 72 74 20 26 6f 70 74 69 | 6f 6e 61 6c 20 65 6e 64 |rt &opti|onal end|
|00001b40| 29 20 22 5c 0a 43 68 65 | 63 6b 20 74 68 65 20 73 |) "\.Che|ck the s|
|00001b50| 70 65 6c 6c 69 6e 67 20 | 66 6f 72 20 61 6c 6c 20 |pelling |for all |
|00001b60| 6f 66 20 74 68 65 20 77 | 6f 72 64 73 20 69 6e 20 |of the w|ords in |
|00001b70| 74 68 65 20 72 65 67 69 | 6f 6e 2e 22 20 28 69 6e |the regi|on." (in|
|00001b80| 74 65 72 61 63 74 69 76 | 65 20 22 72 22 29 20 28 |teractiv|e "r") (|
|00001b90| 62 79 74 65 2d 63 6f 64 | 65 20 22 c2 88 c3 70 08 |byte-cod|e "...p.|
|00001ba0| 09 23 87 22 20 5b 73 74 | 61 72 74 20 65 6e 64 20 |.#." [st|art end |
|00001bb0| 6e 69 6c 20 69 73 70 65 | 6c 6c 5d 20 34 29 29 0a |nil ispe|ll] 4)).|
|00001bc0| 0a 28 64 65 66 75 6e 20 | 69 73 70 65 6c 6c 2d 6c |.(defun |ispell-l|
|00001bd0| 65 74 74 65 72 70 20 28 | 63 29 20 28 62 79 74 65 |etterp (|c) (byte|
|00001be0| 2d 63 6f 64 65 20 22 08 | 85 1f 00 08 c1 59 85 0d |-code ".|.....Y..|
|00001bf0| 00 08 c2 58 86 1f 00 08 | c3 59 85 19 00 08 c4 58 |...X....|.Y.....X|
|00001c00| 86 1f 00 08 c5 59 87 22 | 20 5b 63 20 36 35 20 39 |.....Y."| [c 65 9|
|00001c10| 30 20 39 37 20 31 32 32 | 20 31 32 38 5d 20 32 29 |0 97 122| 128] 2)|
|00001c20| 29 0a 0a 28 64 65 66 75 | 6e 20 69 73 70 65 6c 6c |)..(defu|n ispell|
|00001c30| 2d 6c 65 74 74 65 72 2d | 6f 72 2d 71 75 6f 74 65 |-letter-|or-quote|
|00001c40| 70 20 28 63 29 20 28 62 | 79 74 65 2d 63 6f 64 65 |p (c) (b|yte-code|
|00001c50| 20 22 08 85 25 00 08 c1 | 59 85 0d 00 08 c2 58 86 | "..%...|Y.....X.|
|00001c60| 25 00 08 c3 59 85 19 00 | 08 c4 58 86 25 00 08 c5 |%...Y...|..X.%...|
|00001c70| 55 86 25 00 08 c6 59 87 | 22 20 5b 63 20 36 35 20 |U.%...Y.|" [c 65 |
|00001c80| 39 30 20 39 37 20 31 32 | 32 20 33 39 20 31 32 38 |90 97 12|2 39 128|
|00001c90| 5d 20 32 29 29 0a 0a 28 | 64 65 66 75 6e 20 69 73 |] 2))..(|defun is|
|00001ca0| 70 65 6c 6c 2d 66 69 6e | 64 2d 77 6f 72 64 2d 73 |pell-fin|d-word-s|
|00001cb0| 74 61 72 74 20 6e 69 6c | 20 28 62 79 74 65 2d 63 |tart nil| (byte-c|
|00001cc0| 6f 64 65 20 22 c0 60 66 | 21 3f 85 1d 00 6f 3f 85 |ode ".`f|!?...o?.|
|00001cd0| 14 00 c0 60 c1 5a 66 21 | 3f 85 1d 00 c2 20 88 82 |...`.Zf!|?.... ..|
|00001ce0| 08 00 88 c3 60 c1 5a 66 | 21 85 2d 00 c2 20 88 82 |....`.Zf|!.-.. ..|
|00001cf0| 1e 00 88 c4 c5 21 87 22 | 20 5b 69 73 70 65 6c 6c |.....!."| [ispell|
|00001d00| 2d 6c 65 74 74 65 72 70 | 20 31 20 62 61 63 6b 77 |-letterp| 1 backw|
|00001d10| 61 72 64 2d 63 68 61 72 | 20 69 73 70 65 6c 6c 2d |ard-char| ispell-|
|00001d20| 6c 65 74 74 65 72 2d 6f | 72 2d 71 75 6f 74 65 70 |letter-o|r-quotep|
|00001d30| 20 73 6b 69 70 2d 63 68 | 61 72 73 2d 66 6f 72 77 | skip-ch|ars-forw|
|00001d40| 61 72 64 20 22 27 22 5d | 20 37 29 29 0a 0a 28 64 |ard "'"]| 7))..(d|
|00001d50| 65 66 75 6e 20 69 73 70 | 65 6c 6c 2d 66 69 6e 64 |efun isp|ell-find|
|00001d60| 2d 77 6f 72 64 2d 65 6e | 64 20 6e 69 6c 20 28 62 |-word-en|d nil (b|
|00001d70| 79 74 65 2d 63 6f 64 65 | 20 22 c0 60 66 21 85 0d |yte-code| ".`f!..|
|00001d80| 00 c1 20 88 82 00 00 88 | c2 c3 21 87 22 20 5b 69 |.. .....|..!." [i|
|00001d90| 73 70 65 6c 6c 2d 6c 65 | 74 74 65 72 2d 6f 72 2d |spell-le|tter-or-|
|00001da0| 71 75 6f 74 65 70 20 66 | 6f 72 77 61 72 64 2d 63 |quotep f|orward-c|
|00001db0| 68 61 72 20 73 6b 69 70 | 2d 63 68 61 72 73 2d 62 |har skip|-chars-b|
|00001dc0| 61 63 6b 77 61 72 64 20 | 22 27 22 5d 20 34 29 29 |ackward |"'"] 4))|
|00001dd0| 0a 0a 28 64 65 66 75 6e | 20 69 73 70 65 6c 6c 2d |..(defun| ispell-|
|00001de0| 6e 65 78 74 2d 77 6f 72 | 64 20 6e 69 6c 20 28 62 |next-wor|d nil (b|
|00001df0| 79 74 65 2d 63 6f 64 65 | 20 22 6d 3f 85 0a 00 c0 |yte-code| "m?....|
|00001e00| 60 66 21 3f 85 13 00 c1 | 20 88 82 00 00 87 22 20 |`f!?....| ....." |
|00001e10| 5b 69 73 70 65 6c 6c 2d | 6c 65 74 74 65 72 70 20 |[ispell-|letterp |
|00001e20| 66 6f 72 77 61 72 64 2d | 63 68 61 72 5d 20 34 29 |forward-|char] 4)|
|00001e30| 29 0a 0a 28 64 65 66 75 | 6e 20 69 73 70 65 6c 6c |)..(defu|n ispell|
|00001e40| 2d 70 6f 69 6e 74 20 28 | 73 74 61 72 74 20 6d 65 |-point (|start me|
|00001e50| 73 73 61 67 65 29 20 28 | 62 79 74 65 2d 63 6f 64 |ssage) (|byte-cod|
|00001e60| 65 20 22 c9 20 c5 c5 1a | 19 18 8a 0b 62 88 ca 20 |e ". ...|....b.. |
|00001e70| 88 cb 20 89 13 88 cc 20 | 88 cb 20 89 12 88 0b 0a |.. .... |.. .....|
|00001e80| 59 85 25 00 cd ce 0c 5c | 22 88 0b 0a 57 85 9e 00 |Y.%....\|"...W...|
|00001e90| 0b 62 88 cc 20 88 cf 08 | 60 5c 22 88 c5 89 11 88 |.b.. ...|`\".....|
|00001ea0| d0 0b 08 5c 22 89 16 06 | 88 d1 0e 06 21 85 8a 00 |...\"...|....!...|
|00001eb0| 0b 62 88 d2 d3 21 88 c4 | d4 d5 0e 06 5c 22 21 88 |.b...!..|....\"!.|
|00001ec0| d6 0e 06 21 88 d7 20 1c | 0c c7 3d 83 6f 00 c4 d8 |...!.. .|..=.o...|
|00001ed0| 0e 06 5c 22 82 89 00 0c | 3f 86 76 00 0c 3a 83 85 |..\"....|?.v..:..|
|00001ee0| 00 d9 0e 06 0b 08 0c 24 | 89 11 82 89 00 cd da 0c |.......$|........|
|00001ef0| 5c 22 29 88 09 3f 85 9a | 00 08 62 88 db 20 88 cf |\")..?..|..b.. ..|
|00001f00| 0b 60 5c 22 88 82 26 00 | 88 dc dd 21 1e 08 0e 08 |.`\"..&.|...!....|
|00001f10| 85 af 00 0e 08 71 88 de | 20 29 88 cf 0b c5 5c 22 |.....q..| )....\"|
|00001f20| 88 cf 0a c5 5c 22 88 cf | 08 c5 5c 22 29 2b 87 22 |....\"..|..\")+."|
|00001f30| 20 5b 77 65 6e 64 20 72 | 65 73 63 61 6e 20 65 6e | [wend r|escan en|
|00001f40| 64 20 73 74 61 72 74 20 | 6d 65 73 73 61 67 65 20 |d start |message |
|00001f50| 6e 69 6c 20 77 6f 72 64 | 20 74 20 62 75 66 20 6d |nil word| t buf m|
|00001f60| 61 6b 65 2d 6d 61 72 6b | 65 72 20 69 73 70 65 6c |ake-mark|er ispel|
|00001f70| 6c 2d 66 69 6e 64 2d 77 | 6f 72 64 2d 73 74 61 72 |l-find-w|ord-star|
|00001f80| 74 20 70 6f 69 6e 74 2d | 6d 61 72 6b 65 72 20 69 |t point-|marker i|
|00001f90| 73 70 65 6c 6c 2d 66 69 | 6e 64 2d 77 6f 72 64 2d |spell-fi|nd-word-|
|00001fa0| 65 6e 64 20 65 72 72 6f | 72 20 22 4e 6f 20 77 6f |end erro|r "No wo|
|00001fb0| 72 64 20 25 73 22 20 73 | 65 74 2d 6d 61 72 6b 65 |rd %s" s|et-marke|
|00001fc0| 72 20 62 75 66 66 65 72 | 2d 73 75 62 73 74 72 69 |r buffer|-substri|
|00001fd0| 6e 67 20 69 73 70 65 6c | 6c 2d 73 74 69 6c 6c 2d |ng ispel|l-still-|
|00001fe0| 62 61 64 20 73 69 74 2d | 66 6f 72 20 30 20 66 6f |bad sit-|for 0 fo|
|00001ff0| 72 6d 61 74 20 22 49 73 | 70 65 6c 6c 20 63 68 65 |rmat "Is|pell che|
|00002000| 63 6b 69 6e 67 20 25 73 | 22 20 69 73 70 65 6c 6c |cking %s|" ispell|
|00002010| 2d 63 6d 64 20 69 73 70 | 65 6c 6c 2d 6e 65 78 74 |-cmd isp|ell-next|
|00002020| 2d 6d 65 73 73 61 67 65 | 20 22 25 73 3a 20 6f 6b |-message| "%s: ok|
|00002030| 22 20 69 73 70 65 6c 6c | 2d 63 6f 6d 6d 61 6e 64 |" ispell|-command|
|00002040| 2d 6c 6f 6f 70 20 22 75 | 6e 6b 6e 6f 77 6e 20 69 |-loop "u|nknown i|
|00002050| 73 70 65 6c 6c 20 72 65 | 73 70 6f 6e 73 65 20 25 |spell re|sponse %|
|00002060| 73 22 20 69 73 70 65 6c | 6c 2d 6e 65 78 74 2d 77 |s" ispel|l-next-w|
|00002070| 6f 72 64 20 67 65 74 2d | 62 75 66 66 65 72 20 22 |ord get-|buffer "|
|00002080| 2a 69 73 70 65 6c 6c 20 | 63 68 6f 69 63 65 73 2a |*ispell |choices*|
|00002090| 22 20 65 72 61 73 65 2d | 62 75 66 66 65 72 5d 20 |" erase-|buffer] |
|000020a0| 32 37 29 29 0a 0a 28 64 | 65 66 75 6e 20 69 73 70 |27))..(d|efun isp|
|000020b0| 65 6c 6c 2d 73 74 69 6c | 6c 2d 62 61 64 20 28 77 |ell-stil|l-bad (w|
|000020c0| 6f 72 64 29 20 28 62 79 | 74 65 2d 63 6f 64 65 20 |ord) (by|te-code |
|000020d0| 22 09 c3 c3 1c 1a 18 08 | 85 24 00 c7 08 40 0d 5c |".......|.$...@.\|
|000020e0| 22 c8 3d 85 1b 00 c6 89 | 12 88 c6 89 10 88 08 41 |".=.....|.......A|
|000020f0| 89 10 88 82 06 00 88 0a | 2b 87 22 20 5b 77 6f 72 |........|+." [wor|
|00002100| 64 73 20 69 73 70 65 6c | 6c 2d 72 65 63 65 6e 74 |ds ispel|l-recent|
|00002110| 6c 79 2d 61 63 63 65 70 | 74 65 64 20 72 65 74 20 |ly-accep|ted ret |
|00002120| 74 20 63 61 73 65 2d 66 | 6f 6c 64 2d 73 65 61 72 |t case-f|old-sear|
|00002130| 63 68 20 77 6f 72 64 20 | 6e 69 6c 20 73 74 72 69 |ch word |nil stri|
|00002140| 6e 67 2d 6d 61 74 63 68 | 20 30 5d 20 34 29 29 0a |ng-match| 0] 4)).|
|00002150| 0a 28 64 65 66 75 6e 20 | 69 73 70 65 6c 6c 2d 73 |.(defun |ispell-s|
|00002160| 68 6f 77 2d 63 68 6f 69 | 63 65 73 20 28 77 6f 72 |how-choi|ces (wor|
|00002170| 64 20 6d 65 73 73 61 67 | 65 20 66 69 72 73 74 2d |d messag|e first-|
|00002180| 6c 69 6e 65 29 20 28 62 | 79 74 65 2d 63 6f 64 65 |line) (b|yte-code|
|00002190| 20 22 cb 20 18 08 cc 20 | 3d 19 cd ce 21 1a cf 1b | ". ... |=...!...|
|000021a0| d0 0a 21 89 13 88 d1 0a | 21 88 09 85 2a 00 d2 8e |..!.....|!...*...|
|000021b0| d3 0b 21 88 d4 d5 d6 0b | 21 5a 21 29 88 8a 0a 71 |..!.....|!Z!)...q|
|000021c0| 88 d7 0a 21 88 d8 0b 65 | 5c 22 88 d9 0b 65 5c 22 |...!...e|\"...e\"|
|000021d0| 88 da 20 88 db 0c dc 5c | 22 88 dd 63 88 0d 3f 3f |.. ....\|"..c..??|
|000021e0| 85 ab 00 de 1e 06 0e 06 | df 57 85 aa 00 de 1e 07 |........|.W......|
|000021f0| 0e 07 df 57 85 9a 00 e0 | 0e 07 df 5c 22 0e 06 5c |...W....|...\"..\|
|00002200| 5c 1e 08 0e 08 0d 38 1e | 09 0e 09 85 8d 00 e1 e2 |\.....8.|........|
|00002210| 0e 08 0e 09 23 1e 0a 0e | 0a 63 88 e3 e4 e5 0e 0a |....#...|.c......|
|00002220| 47 5a 5c 22 29 2a 88 0e | 07 e6 5c 5c 89 16 07 88 |GZ\")*..|..\\....|
|00002230| 82 5b 00 29 88 dc 63 88 | 0e 06 e6 5c 5c 89 16 06 |.[.)..c.|...\\...|
|00002240| 88 82 51 00 29 29 2c 87 | 22 20 5b 73 65 6c 77 69 |..Q.)),.|" [selwi|
|00002250| 6e 20 72 65 73 69 7a 65 | 20 62 75 66 20 77 20 66 |n resize| buf w f|
|00002260| 69 72 73 74 2d 6c 69 6e | 65 20 6d 65 73 73 61 67 |irst-lin|e messag|
|00002270| 65 20 69 20 6a 20 6e 20 | 63 68 6f 69 63 65 20 73 |e i j n |choice s|
|00002280| 74 72 20 73 65 6c 65 63 | 74 65 64 2d 77 69 6e 64 |tr selec|ted-wind|
|00002290| 6f 77 20 6e 65 78 74 2d | 77 69 6e 64 6f 77 20 67 |ow next-|window g|
|000022a0| 65 74 2d 62 75 66 66 65 | 72 2d 63 72 65 61 74 65 |et-buffe|r-create|
|000022b0| 20 22 2a 69 73 70 65 6c | 6c 20 63 68 6f 69 63 65 | "*ispel|l choice|
|000022c0| 73 2a 22 20 6e 69 6c 20 | 64 69 73 70 6c 61 79 2d |s*" nil |display-|
|000022d0| 62 75 66 66 65 72 20 62 | 75 66 66 65 72 2d 66 6c |buffer b|uffer-fl|
|000022e0| 75 73 68 2d 75 6e 64 6f | 20 28 28 62 79 74 65 2d |ush-undo| ((byte-|
|000022f0| 63 6f 64 65 20 22 c1 08 | 21 87 22 20 5b 73 65 6c |code "..|!." [sel|
|00002300| 77 69 6e 20 73 65 6c 65 | 63 74 2d 77 69 6e 64 6f |win sele|ct-windo|
|00002310| 77 5d 20 32 29 29 20 73 | 65 6c 65 63 74 2d 77 69 |w] 2)) s|elect-wi|
|00002320| 6e 64 6f 77 20 65 6e 6c | 61 72 67 65 2d 77 69 6e |ndow enl|arge-win|
|00002330| 64 6f 77 20 36 20 77 69 | 6e 64 6f 77 2d 68 65 69 |dow 6 wi|ndow-hei|
|00002340| 67 68 74 20 62 75 72 79 | 2d 62 75 66 66 65 72 20 |ght bury|-buffer |
|00002350| 73 65 74 2d 77 69 6e 64 | 6f 77 2d 70 6f 69 6e 74 |set-wind|ow-point|
|00002360| 20 73 65 74 2d 77 69 6e | 64 6f 77 2d 73 74 61 72 | set-win|dow-star|
|00002370| 74 20 65 72 61 73 65 2d | 62 75 66 66 65 72 20 69 |t erase-|buffer i|
|00002380| 6e 73 65 72 74 20 22 0a | 22 20 22 53 50 43 20 73 |nsert ".|" "SPC s|
|00002390| 6b 69 70 3b 20 41 20 61 | 63 63 65 70 74 3b 20 49 |kip; A a|ccept; I|
|000023a0| 20 69 6e 73 65 72 74 3b | 20 44 49 47 49 54 20 73 | insert;| DIGIT s|
|000023b0| 65 6c 65 63 74 3b 20 52 | 20 72 65 70 6c 61 63 65 |elect; R| replace|
|000023c0| 3b 20 4c 20 6c 6f 6f 6b | 75 70 3b 20 51 20 71 75 |; L look|up; Q qu|
|000023d0| 69 74 0a 22 20 30 20 33 | 20 2a 20 66 6f 72 6d 61 |it." 0 3| * forma|
|000023e0| 74 20 22 25 64 20 25 73 | 22 20 69 6e 73 65 72 74 |t "%d %s|" insert|
|000023f0| 2d 63 68 61 72 20 33 32 | 20 32 30 20 31 5d 20 32 |-char 32| 20 1] 2|
|00002400| 31 29 29 0a 0a 28 64 65 | 66 75 6e 20 69 73 70 65 |1))..(de|fun ispe|
|00002410| 6c 6c 2d 63 6f 6d 6d 61 | 6e 64 2d 6c 6f 6f 70 20 |ll-comma|nd-loop |
|00002420| 28 77 6f 72 64 20 73 74 | 61 72 74 20 65 6e 64 20 |(word st|art end |
|00002430| 6d 65 73 73 61 67 65 29 | 20 28 62 79 74 65 2d 63 |message)| (byte-c|
|00002440| 6f 64 65 20 22 c1 c3 c3 | 1c 1a 18 0d 3f 83 15 00 |ode "...|....?...|
|00002450| cc 0e 06 cd 51 89 14 82 | 1c 00 ce 0e 06 cd 51 89 |....Q...|......Q.|
|00002460| 14 88 08 85 f0 00 cf 0e | 06 0d 0c 23 88 c5 d0 21 |........|...#...!|
|00002470| 88 d1 72 21 c3 1e 08 1e | 07 0e 07 d2 59 85 4b 00 |..r!....|....Y.K.|
|00002480| 0e 07 d3 58 85 4b 00 0e | 07 d2 5a 0d 38 89 16 08 |...X.K..|..Z.8...|
|00002490| 83 5d 00 d4 0e 09 0e 0a | 0e 08 23 88 c3 89 10 82 |.]......|..#.....|
|000024a0| eb 00 0e 07 d5 55 83 6b | 00 d6 d7 c3 5c 22 82 eb |.....U.k|....\"..|
|000024b0| 00 0e 07 d8 55 83 78 00 | c3 89 10 82 eb 00 0e 07 |....U.x.|........|
|000024c0| d9 55 83 93 00 d4 0e 09 | 0e 0a da db 21 23 88 c1 |.U......|....!#..|
|000024d0| 89 12 88 c3 89 10 82 eb | 00 0e 07 dc 55 83 a5 00 |........|....U...|
|000024e0| dd 0e 06 21 88 c3 89 10 | 82 eb 00 0e 07 de 55 83 |...!....|......U.|
|000024f0| b7 00 df 0e 06 21 88 c3 | 89 10 82 eb 00 0e 07 e0 |.....!..|........|
|00002500| 55 83 d3 00 e1 0e 06 21 | 1e 0b 0e 0b 40 89 14 88 |U......!|....@...|
|00002510| 0e 0b 41 89 15 29 82 eb | 00 0e 07 e2 55 83 e4 00 |..A..)..|....U...|
|00002520| c5 e3 21 88 e4 e5 21 82 | eb 00 c5 e6 21 88 e4 e5 |..!...!.|....!...|
|00002530| 21 2a 88 82 1d 00 88 0a | 2b 87 22 20 5b 66 6c 61 |!*......|+." [fla|
|00002540| 67 20 74 20 72 65 73 63 | 61 6e 20 6e 69 6c 20 66 |g t resc|an nil f|
|00002550| 69 72 73 74 2d 6c 69 6e | 65 20 6d 65 73 73 61 67 |irst-lin|e messag|
|00002560| 65 20 77 6f 72 64 20 63 | 20 72 65 70 6c 61 63 65 |e word c| replace|
|00002570| 6d 65 6e 74 20 73 74 61 | 72 74 20 65 6e 64 20 76 |ment sta|rt end v|
|00002580| 61 6c 20 22 4e 6f 20 6e | 65 61 72 20 6d 69 73 73 |al "No n|ear miss|
|00002590| 65 73 20 66 6f 72 20 27 | 22 20 22 27 22 20 22 4e |es for '|" "'" "N|
|000025a0| 65 61 72 20 6d 69 73 73 | 65 73 20 66 6f 72 20 27 |ear miss|es for '|
|000025b0| 22 20 69 73 70 65 6c 6c | 2d 73 68 6f 77 2d 63 68 |" ispell|-show-ch|
|000025c0| 6f 69 63 65 73 20 22 49 | 73 70 65 6c 6c 20 63 6f |oices "I|spell co|
|000025d0| 6d 6d 61 6e 64 3a 20 22 | 20 64 6f 77 6e 63 61 73 |mmand: "| downcas|
|000025e0| 65 20 34 38 20 35 37 20 | 69 73 70 65 6c 6c 2d 72 |e 48 57 |ispell-r|
|000025f0| 65 70 6c 61 63 65 20 31 | 31 33 20 74 68 72 6f 77 |eplace 1|13 throw|
|00002600| 20 71 75 69 74 20 33 32 | 20 31 31 34 20 72 65 61 | quit 32| 114 rea|
|00002610| 64 2d 73 74 72 69 6e 67 | 20 22 52 65 70 6c 61 63 |d-string| "Replac|
|00002620| 65 6d 65 6e 74 3a 20 22 | 20 31 30 35 20 69 73 70 |ement: "| 105 isp|
|00002630| 65 6c 6c 2d 69 6e 73 65 | 72 74 20 39 37 20 69 73 |ell-inse|rt 97 is|
|00002640| 70 65 6c 6c 2d 61 63 63 | 65 70 74 20 31 30 38 20 |pell-acc|ept 108 |
|00002650| 69 73 70 65 6c 6c 2d 64 | 6f 2d 6c 6f 6f 6b 20 36 |ispell-d|o-look 6|
|00002660| 33 20 22 54 79 70 65 20 | 27 43 2d 68 20 64 20 69 |3 "Type |'C-h d i|
|00002670| 73 70 65 6c 6c 27 20 74 | 6f 20 74 68 65 20 65 6d |spell' t|o the em|
|00002680| 61 63 73 20 6d 61 69 6e | 20 6c 6f 6f 70 20 66 6f |acs main| loop fo|
|00002690| 72 20 6d 6f 72 65 20 68 | 65 6c 70 22 20 73 69 74 |r more h|elp" sit|
|000026a0| 2d 66 6f 72 20 32 20 22 | 42 61 64 20 69 73 70 65 |-for 2 "|Bad ispe|
|000026b0| 6c 6c 20 63 6f 6d 6d 61 | 6e 64 22 5d 20 31 36 29 |ll comma|nd"] 16)|
|000026c0| 29 0a 0a 28 64 65 66 75 | 6e 20 69 73 70 65 6c 6c |)..(defu|n ispell|
|000026d0| 2d 64 6f 2d 6c 6f 6f 6b | 20 28 62 61 64 2d 77 6f |-do-look| (bad-wo|
|000026e0| 72 64 29 20 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |rd) (byt|e-code "|
|000026f0| c5 c5 c5 1a 19 18 0b 3f | 83 13 00 c6 c7 21 89 10 |.......?|.....!..|
|00002700| 82 19 00 c6 c8 c9 5c 22 | 89 10 88 ca cb 21 89 11 |......\"|.....!..|
|00002710| 88 8a 09 71 88 cc 65 64 | 5c 22 88 0b 83 39 00 cd |...q..ed|\"...9..|
|00002720| ce c5 09 c5 cf 08 26 06 | 82 40 00 cd ce c5 09 c5 |......&.|.@......|
|00002730| 08 25 88 65 62 88 d0 d1 | 21 88 cc 60 64 5c 22 88 |.%.eb...|!..`d\".|
|00002740| 65 62 88 65 64 55 3f 85 | 6e 00 d2 20 88 d3 65 60 |eb.edU?.|n.. ..e`|
|00002750| 5c 22 0a 42 89 12 88 d0 | 20 88 cc 65 60 5c 22 88 |\".B....| ..e`\".|
|00002760| 82 50 00 88 d4 09 21 88 | d5 d6 08 5c 22 d7 0a 21 |.P....!.|...\"..!|
|00002770| 42 29 2b 87 22 20 5b 72 | 65 67 65 78 20 62 75 66 |B)+." [r|egex buf|
|00002780| 20 77 6f 72 64 73 20 69 | 73 70 65 6c 6c 2d 68 61 | words i|spell-ha|
|00002790| 76 65 2d 6e 65 77 2d 6c | 6f 6f 6b 20 74 20 6e 69 |ve-new-l|ook t ni|
|000027a0| 6c 20 72 65 61 64 2d 73 | 74 72 69 6e 67 20 22 4c |l read-s|tring "L|
|000027b0| 6f 6f 6b 75 70 3a 20 22 | 20 22 4c 6f 6f 6b 75 70 |ookup: "| "Lookup|
|000027c0| 20 28 72 65 67 65 78 29 | 3a 20 22 20 22 5e 22 20 | (regex)|: " "^" |
|000027d0| 67 65 74 2d 62 75 66 66 | 65 72 2d 63 72 65 61 74 |get-buff|er-creat|
|000027e0| 65 20 22 2a 69 73 70 65 | 6c 6c 20 6c 6f 6f 6b 2a |e "*ispe|ll look*|
|000027f0| 22 20 64 65 6c 65 74 65 | 2d 72 65 67 69 6f 6e 20 |" delete|-region |
|00002800| 63 61 6c 6c 2d 70 72 6f | 63 65 73 73 20 22 6c 6f |call-pro|cess "lo|
|00002810| 6f 6b 22 20 22 2d 72 22 | 20 66 6f 72 77 61 72 64 |ok" "-r"| forward|
|00002820| 2d 6c 69 6e 65 20 31 30 | 20 65 6e 64 2d 6f 66 2d |-line 10| end-of-|
|00002830| 6c 69 6e 65 20 62 75 66 | 66 65 72 2d 73 75 62 73 |line buf|fer-subs|
|00002840| 74 72 69 6e 67 20 6b 69 | 6c 6c 2d 62 75 66 66 65 |tring ki|ll-buffe|
|00002850| 72 20 66 6f 72 6d 61 74 | 20 22 4c 6f 6f 6b 75 70 |r format| "Lookup|
|00002860| 20 27 25 73 27 22 20 72 | 65 76 65 72 73 65 5d 20 | '%s'" r|everse] |
|00002870| 31 37 29 29 0a 0a 28 64 | 65 66 75 6e 20 69 73 70 |17))..(d|efun isp|
|00002880| 65 6c 6c 2d 72 65 70 6c | 61 63 65 20 28 73 74 61 |ell-repl|ace (sta|
|00002890| 72 74 20 65 6e 64 20 6e | 65 77 29 20 28 62 79 74 |rt end n|ew) (byt|
|000028a0| 65 2d 63 6f 64 65 20 22 | 08 62 88 09 63 88 c3 60 |e-code "|.b..c..`|
|000028b0| 0a 5c 22 87 22 20 5b 73 | 74 61 72 74 20 6e 65 77 |.\"." [s|tart new|
|000028c0| 20 65 6e 64 20 64 65 6c | 65 74 65 2d 72 65 67 69 | end del|ete-regi|
|000028d0| 6f 6e 5d 20 33 29 29 0a | 0a 28 64 65 66 75 6e 20 |on] 3)).|.(defun |
|000028e0| 72 65 6c 6f 61 64 2d 69 | 73 70 65 6c 6c 20 6e 69 |reload-i|spell ni|
|000028f0| 6c 20 22 5c 0a 54 65 6c | 6c 20 69 73 70 65 6c 6c |l "\.Tel|l ispell|
|00002900| 20 74 6f 20 72 65 2d 72 | 65 61 64 20 79 6f 75 72 | to re-r|ead your|
|00002910| 20 70 72 69 76 61 74 65 | 20 64 69 63 74 69 6f 6e | private| diction|
|00002920| 61 72 79 2e 22 20 28 69 | 6e 74 65 72 61 63 74 69 |ary." (i|nteracti|
|00002930| 76 65 29 20 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |ve) (byt|e-code "|
|00002940| c0 88 c1 c2 21 87 22 20 | 5b 6e 69 6c 20 69 73 70 |....!." |[nil isp|
|00002950| 65 6c 6c 2d 63 6d 64 20 | 22 3a 72 65 6c 6f 61 64 |ell-cmd |":reload|
|00002960| 22 5d 20 32 29 29 0a 0a | 28 64 65 66 69 6e 65 2d |"] 2))..|(define-|
|00002970| 6b 65 79 20 65 73 63 2d | 6d 61 70 20 22 24 22 20 |key esc-|map "$" |
|00002980| 28 71 75 6f 74 65 20 69 | 73 70 65 6c 6c 2d 77 6f |(quote i|spell-wo|
|00002990| 72 64 29 29 0a 0a 28 64 | 65 66 69 6e 65 2d 6b 65 |rd))..(d|efine-ke|
|000029a0| 79 20 63 74 6c 2d 78 2d | 6d 61 70 20 22 24 22 20 |y ctl-x-|map "$" |
|000029b0| 28 71 75 6f 74 65 20 69 | 73 70 65 6c 6c 2d 6e 65 |(quote i|spell-ne|
|000029c0| 78 74 29 29 0a 0a 28 64 | 65 66 75 6e 20 62 61 74 |xt))..(d|efun bat|
|000029d0| 63 68 2d 6d 61 6b 65 2d | 69 73 70 65 6c 6c 20 6e |ch-make-|ispell n|
|000029e0| 69 6c 20 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c0 |il (byte|-code ".|
|000029f0| c1 21 87 22 20 5b 62 79 | 74 65 2d 63 6f 6d 70 69 |.!." [by|te-compi|
|00002a00| 6c 65 2d 66 69 6c 65 20 | 22 69 73 70 65 6c 6c 2e |le-file |"ispell.|
|00002a10| 65 6c 22 5d 20 32 29 29 | 0a 00 00 00 00 00 00 00 |el"] 2))|........|
|00002a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a80| 00 00 01 00 00 00 01 0a | 00 00 00 0a 00 00 00 32 |........|.......2|
|00002a90| 22 5c 6e 22 29 29 0d 20 | 20 20 20 20 20 28 70 72 |"\n")). | (pr|
|00002aa0| 6f 63 65 73 73 2d 73 65 | 6e 64 2d 73 74 72 69 6e |ocess-se|nd-strin|
|00002ab0| 0a 69 73 70 65 6c 6c 2e | 65 6c 63 00 02 00 00 00 |.ispell.|elc.....|
|00002ac0| 64 45 4c 43 45 4d 41 43 | 01 00 02 70 01 80 00 00 |dELCEMAC|...p....|
|00002ad0| 00 00 64 45 4c 43 45 4d | 41 43 01 00 02 70 01 80 |..dELCEM|AC...p..|
|00002ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002af0| 00 00 a9 84 2c 10 00 00 | 29 99 00 00 01 3c 64 2d |....,...|)....<d-|
|00002b00| 73 74 72 69 6e 67 20 70 | 72 6f 63 65 73 73 20 22 |string p|rocess "|
|00002b10| 5c 6e 22 29 0d 20 20 20 | 20 20 20 28 70 72 6f 63 |\n"). | (proc|
|00002b20| 65 73 73 2d 73 65 6e 64 | 2d 65 6f 66 20 70 72 6f |ess-send|-eof pro|
|00002b30| 63 65 73 73 29 29 0d 20 | 20 20 20 28 77 68 69 6c |cess)). | (whil|
|00002b40| 65 20 28 65 71 20 28 70 | 72 6f 63 65 73 73 2d 73 |e (eq (p|rocess-s|
|00002b50| 74 61 74 75 73 20 70 72 | 6f 63 65 73 73 29 20 27 |tatus pr|ocess) '|
|00002b60| 72 75 6e 29 0d 20 20 20 | 20 20 20 28 61 63 63 65 |run). | (acce|
|00002b70| 70 74 2d 70 72 6f 63 65 | 73 73 2d 6f 75 74 70 75 |pt-proce|ss-outpu|
|00002b80| 00 00 00 06 05 45 6d 61 | 63 73 00 00 01 00 00 00 |.....Ema|cs......|
|00002b90| 01 0a 00 00 00 0a 00 00 | 00 32 00 23 48 2c 06 9e |........|.2.#H,..|
|00002ba0| 00 00 00 1c 00 32 00 00 | 53 54 52 20 00 00 00 0a |.....2..|STR ....|
|00002bb0| bf f4 ff ff 00 00 00 00 | 00 29 8d 60 00 00 00 00 |........|.).`....|
|00002bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+